Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 2 - AppleScript Language Reference
Chapter 3 - Values / Using Value Class Definitions


Coercions Supported

AppleScript can change a value of one class into a value of another class. This is called coercion. The "Coercions Supported" section of a value class definition describes the classes to which values of that class can be coerced.

Because a list consists of one or more values, any value can be added to a list or coerced to a single-value list. The definition in Figure 3-1 also lists the value classes to which individual items in a list can be coerced.

For more information about coercions, see "Coercing Values," which begins
on page 66. For a summary of the coercions provided by AppleScript, see Figure 3-3 on page 67.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996